package com.shensi.adminCollect.service.station;

import com.shensi.adminCollect.domain.station.Commodity;
import com.shensi.adminCollect.domain.station.MarketActivity;

import java.util.List;

public interface MarketActivityService {

    /**
     * 新增促销活动
     * */
    Long saveMarketActivity(MarketActivity marketActivity);

    /**
     * 查询促销列表
     * */
    List<MarketActivity> selectMarketActivityList(MarketActivity marketActivity);

    /**
     * 编辑促销活动
     * */
    int updateMarketActivity(MarketActivity marketActivity);

    /**
     * 删除促销活动
     * */
    int deleteMarketActivity(Long marketActivityId);

    /**
     * 查询当前门店 进行中的促销活动
     * */
    List<MarketActivity> progressMarketActivityList(Commodity commodity);

    /**
     * 启用停止促销活动
     * */
    int updateEnabled(MarketActivity marketActivity);

}
